package com.project.mall.bean.generator;

import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CskaoyanmallGroupon {
    private Integer id;

    /**
     * 关联的订单ID
     */
    private Integer orderId;

    /**
     * 参与的团购ID，仅当user_type不是1
     */
    private Integer grouponId;

    /**
     * 团购规则ID，关联cskaoyanmall_groupon_rules表ID字段
     */
    private Integer rulesId;

    /**
     * 用户ID
     */
    private Integer userId;

    /**
     * 创建者ID
     */
    private Integer creatorUserId;

    /**
     * 创建时间
     */
    private Date addTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 团购分享图片地址
     */
    private String shareUrl;

    /**
     * 是否已经支付
     */
    private Boolean payed;

    /**
     * 逻辑删除
     */
    private Boolean deleted;
}